<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
 <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <title>JS Bin</title>
  <script src="https://cdn.bootcss.com/marked/0.3.6/marked.js"></script>
  <link rel="stylesheet" href="typo.css">
  <style>
    body{
      padding:16px;  
    }
    img{
      max-width:100%;
    }
  </style>
</head>
<body>
  <div id="content">
      # 这是一个我的第4页博客

    </div>
  <script>
    var content= document.getElementById('content');
    var markdown=content.innerHTML;
    var html=marked(markdown);
        content.innerHTML=html;
  </script>
</body>
</html>

</html>
